<div class="tab_item" style="display:block;">
    <div class="ui_table">
        <form method="post">
            <input type="hidden" name="id" value="${entity.id}">
            <input type="hidden" name="portrait" id="portrait_${pid}" value="${(entity.portrait)!''}">
            <fieldset>
                <legend>权限-等级</legend>
                <div class="ui_table">
                    <table cellpadding="0" cellspacing="0">
                        <tr></tr>
                        <tr>
                            <td align="right">权限：</td>
                            <td>
                                <select id="modules_${pid}" class="easyui-combobox" style="width: 270px">
                                <#list moduleEnum as module>
                                    <option value="${module.getName()}">${module.getName()}</option>
                                </#list>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">等级：</td>
                            <td><input type="text" class="text easyui-validatebox"  name="level" value="${(entity.level)!''}"/></td>
                        </tr>
                    </table>
                </div>
            </fieldset>
        </form>
    </div>
</div>
<script>
    (function () {
        $("#modules_${pid}").combobox({
            multiple:true,
            editable:false,
            panelHeight:'auto'
        });
        $("#modules_${pid}").combobox('setValues',"${(entity.modules)!''}".split(","));
    })()
</script>


